package com.clkj.sunhelp.mvp.areachoose;

import com.clkj.sunhelp.bean.AreaItem;
import com.clkj.sunhelp.mvp.base.BasePresenter;
import com.clkj.sunhelp.mvp.base.BaseView;

import java.util.List;

/**
 * Created by Administrator on 2017/3/29.
 */

public class AreaChooseContract {

    public interface View extends BaseView<Presenter> {

        void getAllQuXian();

        void onQetAllQuXianSuccess(List<AreaItem> areaList);

        void onQetAllQuXianError(String tip);


        void getXiangZhenByQuXianId();

        void onGetXiangZhenByQuXianIdSuccess(List<AreaItem> areaList);

        void onGetXiangZhenByQuXianIdError(String tip);

        void getCunLuoByXiangZhenId();

        void onGetCunLuoByXiangZhenIdSuccess(List<AreaItem> areaList);

        void onGetCunLuoByXiangZhenIdError(String tip);

    }

    public interface Presenter extends BasePresenter
    {
        void getAllQuXian();

        void getXiangZhenByQuXianId(String quXianId);

        void getCunLuoByXiangZhenId(String xiangZhenId);
    }

}
